package com.sunxueqi.project.system.vo;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.sunxueqi.framework.web.vo.BaseVO;

import io.swagger.annotations.ApiModel;

/**
 * @author 
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("文件管理")
public class LocalFile extends BaseVO implements Serializable {
	
    private String id;

    private String realName;

    private String path;

    private String suffix;

    private Long size;

    private String kzzd1;

    private String kzzd2;

    private String kzzd3;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

   

    public String getKzzd1() {
        return kzzd1;
    }

    public void setKzzd1(String kzzd1) {
        this.kzzd1 = kzzd1;
    }

    public String getKzzd2() {
        return kzzd2;
    }

    public void setKzzd2(String kzzd2) {
        this.kzzd2 = kzzd2;
    }

    public String getKzzd3() {
        return kzzd3;
    }

    public void setKzzd3(String kzzd3) {
        this.kzzd3 = kzzd3;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LocalFile other = (LocalFile) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
            && (this.getPath() == null ? other.getPath() == null : this.getPath().equals(other.getPath()))
            && (this.getSuffix() == null ? other.getSuffix() == null : this.getSuffix().equals(other.getSuffix()))
            && (this.getSize() == null ? other.getSize() == null : this.getSize().equals(other.getSize()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getDeleteStatus() == null ? other.getDeleteStatus() == null : this.getDeleteStatus().equals(other.getDeleteStatus()))
            && (this.getDeleteBy() == null ? other.getDeleteBy() == null : this.getDeleteBy().equals(other.getDeleteBy()))
            && (this.getDeleteTime() == null ? other.getDeleteTime() == null : this.getDeleteTime().equals(other.getDeleteTime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getKzzd1() == null ? other.getKzzd1() == null : this.getKzzd1().equals(other.getKzzd1()))
            && (this.getKzzd2() == null ? other.getKzzd2() == null : this.getKzzd2().equals(other.getKzzd2()))
            && (this.getKzzd3() == null ? other.getKzzd3() == null : this.getKzzd3().equals(other.getKzzd3()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
        result = prime * result + ((getPath() == null) ? 0 : getPath().hashCode());
        result = prime * result + ((getSuffix() == null) ? 0 : getSuffix().hashCode());
        result = prime * result + ((getSize() == null) ? 0 : getSize().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getDeleteStatus() == null) ? 0 : getDeleteStatus().hashCode());
        result = prime * result + ((getDeleteBy() == null) ? 0 : getDeleteBy().hashCode());
        result = prime * result + ((getDeleteTime() == null) ? 0 : getDeleteTime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getKzzd1() == null) ? 0 : getKzzd1().hashCode());
        result = prime * result + ((getKzzd2() == null) ? 0 : getKzzd2().hashCode());
        result = prime * result + ((getKzzd3() == null) ? 0 : getKzzd3().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", realName=").append(realName);
        sb.append(", path=").append(path);
        sb.append(", suffix=").append(suffix);
        sb.append(", size=").append(size);
        sb.append(", kzzd1=").append(kzzd1);
        sb.append(", kzzd2=").append(kzzd2);
        sb.append(", kzzd3=").append(kzzd3);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}